//
//  ViewController.m
//  MyCentenDemo
//
//  Created by 徐凯 on 2017/6/22.
//  Copyright © 2017年 XK. All rights reserved.
//

#import "ViewController.h"
#import "MainViewController.h"


@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (IBAction)pushClick:(id)sender {
    
    MainViewController *mainVC = [[MainViewController alloc] init];
    UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:mainVC];
    [self presentViewController:nav animated:YES completion:nil];
}

@end
